22.4 Grand potential